package com.sg.service.base.component;

import com.sg.dto.base.component.req.ImplementHoverConcurrentBatchReq;
import com.sg.entity.OmsConcurrentTransactionBatches;

import java.util.List;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
public interface MOmsConcurrentTransactionBatchesService {
    /**
     * 2-5-10新增并发事务批次
     */
    String addConcurrentBatch(OmsConcurrentTransactionBatches omsConcurrentTransactionBatches);

    /**
     * 2-5-10删除并发事务批次
     */
    boolean deleteConcurrentBatch(String concurrentTransactionBatchId);

    /**
     * 2-5-10执行悬停并发事务批次
     */
    List<OmsConcurrentTransactionBatches> implementHoverConcurrentBatch(ImplementHoverConcurrentBatchReq reqDto);

    /**
     * 2-5-10新增异常消息数量处理批次
     */
    String addAbnormalMsgLocConcurrentBatch(OmsConcurrentTransactionBatches omsConcurrentTransactionBatches);
    //
}
